-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.3.0
-
Code
-
Classes
- CartCalculator
Total Complexity |
56 |
Dependencies |
9 |
Dependents |
1 |
Total lines |
312 |
Lines of code |
172 |
Logical lines of code |
118 |
Comment lines |
67 |
Methods |
10 |
Properties |
5 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
processCart() |
D |
32 |
32 |
94 |
applyPersistentRules() |
A |
43 |
12 |
48 |
__construct() |
S |
69 |
3 |
6 |
make() |
S |
74 |
2 |
4 |
announceRuleCalculated() |
S |
75 |
2 |
5 |
withContext() |
S |
81 |
1 |
3 |
withPersistentRuleRepository() |
S |
81 |
1 |
3 |
getRulesCollection() |
S |
82 |
1 |
3 |
processItem() |
S |
80 |
1 |
3 |
isCalculationAllowed() |
S |
80 |
1 |
3 |